//
// Created by fshs on 2021/4/21.
//

#include "SqdLoger.h"
#include "spdlog/sinks/stdout_sinks.h"
using  namespace HsLog;

void SqlLoger::initHsLog() {
    auto my_logger = spdlog::basic_logger_mt("basic_logger", "basic-log.txt");
    auto console = spdlog::stdout_logger_mt( "console" );
    spdlog::set_default_logger(console);
    spdlog::set_automatic_registration(true);
    spdlog::info("----------------------------------------");
}
